package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyStudent"
)

//var scyModuleName = "scy"

func SetScyStudentRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyStudent", scyStudent.CreateScyStudent)
	r.POST("/"+scyModuleName+"/updateScyStudent", scyStudent.UpdateScyStudent)
	r.POST("/"+scyModuleName+"/deleteScyStudent", scyStudent.DeleteScyStudent)
	r.POST("/"+scyModuleName+"/getScyStudentList", scyStudent.GetScyStudentList)

	return r
}
